package com.guge.sports.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guge.sports.entity.Dto.DeptRunDetailDto;
import com.guge.sports.entity.Dto.RunningDetailsDataDto;
import com.guge.sports.entity.Dto.SchoolRunDetailDto;
import com.guge.sports.entity.Dto.StudentRunningDataDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */

public interface RunSumService {
    /**
     * 各学校下学院的跑步情况
     * @return
     */
    public List<SchoolRunDetailDto> getSchoolRunDetails(DeptRunDetailDto deptRunDetailDto);

    /*
     *  跑步管理 学生数据  Page 分页 数据  StudentRunningDataVo 条件查询
     * */
    Page<StudentRunningDataDto> StudentRunningDataList(@Param("page") Page<StudentRunningDataDto> page, @Param("StudentRunningDataDto") StudentRunningDataDto studentRunningDataDto);



    /*
     * 跑步明细 Page 分页 时间  RunningDetailsDataDto 条件查询
     * */


    Page<RunningDetailsDataDto> RunningDetailsDataList(@Param("page") Page<RunningDetailsDataDto> page, @Param("RunningDetailsDataDto") RunningDetailsDataDto runningDetailsDataDto);
}
